.class Lcom/instagram/android/mediacache/l;
.super Ljava/lang/Object;
.source "IgProgressImageView.java"

# interfaces
.implements Lcom/instagram/android/mediacache/g;


# instance fields
.field final synthetic a:Lcom/instagram/android/mediacache/i;


# direct methods
.method constructor <init>(Lcom/instagram/android/mediacache/i;)V
    .locals 0
    .parameter

    .prologue
    .line 97
    iput-object p1, p0, Lcom/instagram/android/mediacache/l;->a:Lcom/instagram/android/mediacache/i;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/graphics/Bitmap;)V
    .locals 2
    .parameter

    .prologue
    .line 100
    if-eqz p1, :cond_0

    .line 101
    iget-object v0, p0, Lcom/instagram/android/mediacache/l;->a:Lcom/instagram/android/mediacache/i;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/android/mediacache/i;->setDisplayedChild(I)V

    .line 105
    :goto_0
    iget-object v0, p0, Lcom/instagram/android/mediacache/l;->a:Lcom/instagram/android/mediacache/i;

    invoke-static {v0}, Lcom/instagram/android/mediacache/i;->c(Lcom/instagram/android/mediacache/i;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/mediacache/m;

    .line 106
    invoke-interface {v0, p1}, Lcom/instagram/android/mediacache/m;->a(Landroid/graphics/Bitmap;)V

    goto :goto_1

    .line 103
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/mediacache/l;->a:Lcom/instagram/android/mediacache/i;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/instagram/android/mediacache/i;->setDisplayedChild(I)V

    goto :goto_0

    .line 108
    :cond_1
    return-void
.end method
